Class BWQRCodeResponse

java.lang.Object
com.vasco.image.generator.BWQRCodeResponse

public class BWQRCodeResponse extends Object
Defines the output of the QR Code Generator. Contains a black and white QR code, and the associated boolean matrix.
  • Constructor Details

    • BWQRCodeResponse

      public BWQRCodeResponse(BufferedImage image, boolean[][] booleanMatrix)
      Constructs a BWQRCodeResponse object from the image and the matrix in parameter.
      Parameters:
      image - The QR code image
      booleanMatrix - The associated boolean matrix
  • Method Details

    • getImage

      public BufferedImage getImage()
      Returns:
      The QR code image
    • setImage

      public void setImage(BufferedImage image)
      Parameters:
      image - The QR code image
    • getBooleanMatrix

      public boolean[][] getBooleanMatrix()
      Returns:
      The boolean matrix
    • setBooleanMatrix

      public void setBooleanMatrix(boolean[][] booleanMatrix)
      Parameters:
      booleanMatrix - The boolean matrix